import java.util.Scanner;

public class Test_4 {
    public static void main(String[] args) {
        //创建输入器
        Scanner scanner = new Scanner(System.in);
        //接受 两个整数的输入
        System.out.println("请输入一个成绩：");
        double score = scanner.nextDouble();
        //三目运算 if elseif
        String result = score>=90?"A":score>=60?"B":"C";

        System.out.println("result="+result);





    }
}
